package perform.lazy;

import java.sql.Connection;

import perform.event.LoadEvent;
import perform.exception.LoadException;
import perform.type.Type;

public interface PerformLoader {

	public void loadManyToOne(LoadEvent event, Connection connection)
			throws LoadException;

	public void loadOneToOne(LoadEvent event, Connection connection)
			throws LoadException;

	public <T extends Type> void loadOneToMany(LoadEvent event,
			Connection connection) throws LoadException;

	public <T extends Type> void loadManyToMany(LoadEvent event,
			Connection connection) throws LoadException;

}
